<?php

require_once($_SERVER['DOCUMENT_ROOT'].'/incofarming/Functions/config.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/incofarming/Functions/class/koperasi_model.php');

$koperasi_model = new Koperasi_model();

$id_kop = $_POST['id_kop'];echo $id_kop;
$koperasi_model->delete_kop($id_kop);
header('Location: /incofarming/Views/dashboard-admin.php');

?>